-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: sign container images on quay and signed releases #9837
Conversation
Signed-off-by: Justin Marquis <[email protected]>
Signed-off-by: Justin Marquis <[email protected]>
@@ -388,8 +443,9 @@ jobs: | |||
body_path: release-notes | |||
files: | | |||
dist/argo-*.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don’t we want to keep this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the changes in the Makefile
we now calculate all the checksums into one file argo-workflows-cli-checksums.txt
. Looks like I made a typo on the line below this one.
I'm going to edit this PR today and also sign argo-workflows-cli-checksums.txt
This would essentially sign all the CLI binaries. So we no longer need this file. It's more compact and visually appealing.
Feel free to check one of the more recent releases from Argo CD to get a better visual representation of how this looks
Signed-off-by: Justin Marquis <[email protected]>
Updated to only sign multi-image tags |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Github Actions will need to be monitored when this is merged and settings updated.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is a mentoring request, please provide an update here. Thank you for your contributions. |
Not stale |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
We need some additional secrets required by this PR. @alexec @sarabala1979 Could you help add those? |
Signed releases #9769
This PR implements container images to be signed using
sigstore/cosign
It also consolidates the checksums of the cli-binaries into a single file then signs it.Three GitHub secrets will need to be created before this PR is merged. The process to do this is listed below.
TLDR: https://docs.sigstore.dev/cosign/git_support
cosign --version
to verified it has been installed correctly.cosign generate-key-pair github://argoproj/argo-workflows
This will start the process of creating the GitHub Secrets automatically for you, and prompt you to enter a password. This Password will be stored as the Github secretCOSIGN_PASSWORD
I would recommend to use well respected password generator such as KeePassXC or Bitwarden and use a paranoid level of characters of at least 32.COSIGN_PASSWORD
COSIGN_PRIVATE_KEY
&COSIGN_PUBLIC_KEY